s = input()
out = "Yes" if s==s[::-1] else "Not"
print(out)